package test;

import servers.RpcServer;
import core.Settings
import groovy.net.xmlrpc.XMLRPCServerProxy as Proxy

class GameServerTest extends GroovyTestCase {

	public void testInit() {
		RpcServer.start()
		
		def remote = new Proxy('http://localhost:'+Settings.xmlRpcPort+'/*')
		assert 'okokok' == remote.echo('okokok')

		RpcServer.stop()
	}
}
